﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace XNAViewerSample.Forms
{
    public static class Helpers
    {
        public static void DoEvents()
        {
            Application.DoEvents();
        }

        public static DialogResult MessageBox(String msg)
        {
            return System.Windows.Forms.MessageBox.Show(msg, "EskNA", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static DialogResult MessageBox(String msg, String caption)
        {
            return System.Windows.Forms.MessageBox.Show(msg, caption, MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static DialogResult MessageBox(String msg, String caption, MessageBoxButtons buttons)
        {
            return System.Windows.Forms.MessageBox.Show(msg, caption, buttons, MessageBoxIcon.Question);
        }
    }
}
